package com.dayuanit.hotal;

public class OrderDetail {
    private int foodId;
    private int count;
    private double totalAmount;
    private String foodName;
    private double price;

    public OrderDetail(int foodId, int count) {
        this.foodId = foodId;
        this.count = count;
    }

    @Override
    public String toString() {
        return "OrderDetail{" +
                "foodId=" + foodId +
                ", count=" + count +
                '}';
    }

    public int getFoodId() {
        return foodId;
    }

    public int getCount() {
        return count;
    }

    public void setFoodId(int foodId) {
        this.foodId = foodId;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
